package com.cdck.safe.dete.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Resource)实体类
 *
 * @author wp
 * @since 2024-05-18 14:33:03
 */
@Data
public class ResourceVO implements Serializable {
    private static final long serialVersionUID = -27070199353901621L;

    @TableId(type =  IdType.AUTO)
    private Long id;
    /**
     * 资源名称
     */
    private String name;
    /**
     * 资源类型
     */
    private String type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 0 待审核 1 驳回 2 通过
     */
    private Integer status;


}

